package com.cqq.print.business.dao.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.cqq.print.business.dao.domain.PCptProcess;
import com.cqq.print.business.dao.mapper.PCptProcessMapper;


/**
 * @author generated
 * @date 2015-07-01
 */


@Repository(value="pCptProcessDao")
public class PCptProcessDaoImpl extends com.cqq.common.core.base.BaseDao implements com.cqq.print.business.dao.PCptProcessDao{

             @Autowired
             private PCptProcessMapper pCptProcessMapper;



    public int deleteByPrimaryKey(Integer id){
        return pCptProcessMapper.deleteByPrimaryKey(id);
    }

    public int insert(PCptProcess record){
        return pCptProcessMapper.insert(record);
    }

    public int insertSelective(PCptProcess record){
        return pCptProcessMapper.insertSelective(record);
    }

    public PCptProcess selectByPrimaryKey(Integer id){
        return pCptProcessMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(PCptProcess record){
        return pCptProcessMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(PCptProcess record){
        return pCptProcessMapper.updateByPrimaryKey(record);
    }

	public PCptProcess queryCPTProcessByProId(int proId) {
		return pCptProcessMapper.queryCPTProcessByProId(proId);
	}



}